import type { FileGroup } from '@/services/modules';
import request from '@/utils/request';

export const FileGroupApi = (params?: any, config?: any): Promise<R<List<FileGroup>>> => {

  return request({
    url: '/file-group/index',
    method: 'get',
    params,
    headers: {
      ...config,
    },
  });
};


// export const FileGroupApi = new Proxy(FileGroupApi1, {
//   apply(target, thisArg, argumentsList) {
//     console.log('foo called with arguments:', argumentsList);
//     return target.apply(thisArg, argumentsList);
//   }
// });